package com.csmz.mybookreadernew.UI.Activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.csmz.mybookreadernew.R;

import java.util.Timer;
import java.util.TimerTask;

public class SpaleActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_spale);
        Timer timer=new Timer();
        TimerTask task = new TimerTask() {
            @Override
            public void run() {
                startActivity(new Intent(SpaleActivity.this,MainActivity.class));
            }
        };
        timer.schedule(task,3000);
    }
}
